@REM -- UninstallWindowsService.bat
@REM --
@REM -- To un-register HomeUX.MusicServer as a Windows service (i.e. the opposite of
@REM -- InstallWindowsService.bat):
@REM --   1. In the .config file, do this in <appSettings>:
@REM --        <add key="RunAsWindowsService" value="false"/>
@REM --   2. Run this batch file to stop the service and un-register it.
@REM --
CALL ..\Misc\Elevate.bat net stop HomeUX.MusicServer
CALL ..\Misc\Elevate.bat sc delete HomeUX.MusicServer
